package com.apps.java.javanote02;

public class _10继承Fu {
    public int age = 40;

    public _10继承Fu() {
        System.out.println("父类无参构造方法被调用");
    }

    public _10继承Fu(int age) {
        this.age = age;
        System.out.println("父类带参构造方法被调用");
    }

    public void mathod(){
        System.out.println("父类中的mathod方法");
    }

}
